//
//  StartView.m
//  game-configuration
//
//  Created by Jesse Bjarne Chiang on 3/11/10.
//  Copyright 2010 ffpower. All rights reserved.
//

#import "StartView.h"


@implementation StartView

@synthesize testButton;

- (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        // Initialization code
		
		self.backgroundColor = [UIColor colorWithRed:92 green:92 blue:92 alpha:0.5];
	//	self.backgroundColor = [UIColor orangeColor];
		
		testButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
		testButton.frame = CGRectMake(130, 200, 57, 57);
		[testButton setImage:[UIImage imageNamed:@"Icon.png"] forState:UIControlStateNormal];
		[self addSubview:testButton];
    }
    return self;
}


- (void)drawRect:(CGRect)rect {
    // Drawing code
}


- (void)dealloc {
	[testButton release];
    [super dealloc];
}


@end
